#!/bin/bash
#sed -c -i -e 's/int relate/\/\/int relate/' sched_relate.c
#sed -c -i -e 's/\/\/int main/int main/' sched_relate.c

#sed -c -i -e 's/int main/\/\/int main/' lbdaemon.c
#sed -c -i -e 's/\/\/int daemon/int daemon/' lbdaemon.c

#sed -c -i -e 's/if((pid=fork/\/\/if((pid=fork/' lbdaemon.c
gcc -Wall -g pid_handle.c rbtree.c sched_relate.c lbdaemon.c -I../include -o daemon

